﻿#include "CmdTbExportData.h"
#include "PostCommandPy.h"
#include "BaseModule/IBaseSignal.h"

namespace PostCommand
{
    CmdTbExportData::CmdTbExportData()
        : CommandBase()
    {
        this->initCmdName();
    }

    CmdTbExportData::~CmdTbExportData()
    {
    }

    bool CmdTbExportData::execute()
    {
        emit IBaseSignalInstance->signal_exportTbData(m_windowId, m_filePath, m_delimiter, m_onlyVisible);
        return true;
    }

    void CmdTbExportData::undo()
    {
    }

    void CmdTbExportData::redo()
    {
    }
}

